package com.bdqn.service;
import com.bdqn.pojo.Supplier;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SupplierService {
    /**
     * 查询供应商信息
     * @return
     */
    public List<Supplier> selectSupplier(Supplier supplier);

    /**
     * 添加供货商
     * @return
     */
    public boolean add(Supplier supplier);

    /**
     * 根据id删除供货商
     * @return
     */
    public int delete(@Param("id")Integer id);

    /**
     * 修改供货商
     */
    public boolean update(Supplier supplier);
}
